package org.springframework.nio.method;

import org.springframework.nio.annotation.Handler;

public class HandlerInfo {

	private short mainId;
	private short moudleId;
	
	public HandlerInfo (Handler handler){
		mainId = handler.mainId();
		moudleId = handler.moudleId();
	}

	public short getMainId() {
		return mainId;
	}

	public void setMainId(short mainId) {
		this.mainId = mainId;
	}

	public short getMoudleId() {
		return moudleId;
	}

	public void setMoudleId(short moudleId) {
		this.moudleId = moudleId;
	}
	
	
}
